package com.wx.mapper;

import com.wx.common.MyMapper;
import com.wx.entity.SysHospital;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SysHospitalMapper extends MyMapper<SysHospital> {

    List<SysHospital> listHospitalByRangeId(String rangeId);

    List<SysHospital> listPage(@Param("param") SysHospital param);

    List<SysHospital> listHospital();

    List<SysHospital> listByProvinceCode(SysHospital sysHospital);

    List<SysHospital> getAll(@Param("param") SysHospital sysHospital);

    List<SysHospital> selectByIds(@Param("hospitalIds") List<String> hospitalIds);

    List<SysHospital> selectAllDetail();
}